package com.tian.international;

import android.text.TextUtils;

/**
 * Description:
 * Author:  tianjinyong
 * Date:    2019-11-29 16:58
 */
public class LoginPresenter {

    private UserManager userManager;

    public void login(String name, String pwd) {

        if(name == null || name.length() ==0)
            return;

        if(pwd == null || pwd.length() == 0)
            return;

        userManager.performLogin(name, pwd);
    }

    public void setUserManager(UserManager userManager) {
        this.userManager = userManager;
    }
}
